home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / network / lattice / duftp.lzh / DUFTP / LS2FILEL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-06  |  496 b   |  30 lines

  1. /*
  2.     DUFTP
  3. */
  4.  
  5. // 'ls -l' listing to file_list conversion (HEADER)
  6.  
  7. #ifndef _LS2FILEL_H_
  8. #define _LS2FILEL_H_
  9.  
  10. #include <DULIB.H>
  11.  
  12. typedef struct ls_flst
  13. {
  14.     struct ls_flst *next;
  15.     short is_directory;
  16.     short is_symlink;
  17.     short public_read;
  18.     short owner_read;
  19.     long size;
  20.     char name[FMSIZE];
  21.     char owner[20];
  22. } file_list;
  23.  
  24. extern file_list *ls_to_list(char *filename);
  25. extern char **extract_filenames(file_list *l);
  26. extern void dispose_file_list(file_list *f);
  27.  
  28. #endif
  29.  
  30.